<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<base href="<%=request.getContextPath()%>/">
		<link rel="stylesheet" type="text/css" href="css/common.css"/>
	</head>
	<body>
		<form action="Position.do?m=doUpdate" method="post">
			职位编号：<input type="text" name="posId" value="${pos.posId}" readonly="readonly"/><br />
			职位名称：<input type="text" value="${pos.posName}" name="posName" /><br />
			所属部门：<select name="depId">
					<c:forEach items="${depList}" var="dep">
						<c:choose>
							<c:when test="${dep.depId == pos.dep.depId}">
								<option selected="selected" value="${dep.depId}">${dep.depName}</option>
							</c:when>
							<c:otherwise>
								<option value="${dep.depId}">${dep.depName}</option>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</select><br />
			<input type="button" onclick="history.back();" value="返回"/>
			<input type="submit" value="提交"/>
		</form>
	</body>
</html>
